-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth: Apache OLTU to Nimbusds #1432
Conversation
…for remote projects and galaxy
src/main/java/ca/corefacility/bioinformatics/irida/exceptions/IridaOAuthProblemException.java
Outdated
Show resolved
Hide resolved
src/main/java/ca/corefacility/bioinformatics/irida/exceptions/IridaOAuthProblemException.java
Outdated
Show resolved
Hide resolved
src/main/java/ca/corefacility/bioinformatics/irida/exceptions/IridaOAuthProblemException.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Thanks Eric. I haven't tested it out yet with syncing/Galaxy, but below are some comments. Also, will this impact syncing between old and new IRIDA instances?
.../ca/corefacility/bioinformatics/irida/ria/web/oauth/GalaxyRedirectionEndpointController.java
Outdated
Show resolved
Hide resolved
src/main/java/ca/corefacility/bioinformatics/irida/service/impl/RemoteAPITokenServiceImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/ca/corefacility/bioinformatics/irida/service/impl/RemoteAPITokenServiceImpl.java
Outdated
Show resolved
Hide resolved
Oh, also please add an entry to |
…ch blocks and more explicit logging.
This does touch the code used to sync between old and new IRIDA instances, but it does not break compatibility with older instances. The reason being that we are still performing the same OAuth flow, we are just using a different library that is still being supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much @ericenns . I tested this by syncing between this version of IRIDA and an older version (22.09.X) in both directions. I also tested the Galaxy importer. This all works.
Description of changes
What did you change in this pull request? Provide a description of files changed, user interactions changed, etc. Include how to test your changes.
Replaced end of life Apache OLTU library with Nimbusds, which is a currently maintained library. This code change affects OAuth flow for IRIDA to IRIDA syncing and Galaxy import tool.
To test this I would follow the process for setting up a remote project and also test out the irida-galaxy-importer tool, against a server running this code.
Related issue
Link to the GitHub issue this pull request addresses using the
#issuenum
format. If it completes an issue, useFixes #issuenum
to automatically close the issue.Checklist
Things for the developer to confirm they've done before the PR should be accepted: